/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.edu.cs576.HyperLinkVideo.authoringtool;

import javax.swing.DefaultListModel;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

/**
 *
 * @author Ludo
 */
public class KeyFrameListHandler implements ListSelectionListener{
    AuthoringToolGUI gui;
    
    public KeyFrameListHandler(AuthoringToolGUI gui){
        this.gui = gui;
    }
    
    @Override
    public void valueChanged(ListSelectionEvent e) {
       goToKeyFrame();
    }
    
    private void goToKeyFrame(){
       gui.goToKeyFrame();
    }
    
}
